<?

class OddEven
{
    var $value;

    function OddEven($value = 'odd') {
        $this->value = $value;
    }

    function getValue() {
        $this->value = ($this->value == 'Odd' ? 'Even' : 'Odd');
        return $this->value;
    }

}

?>